package app;

import crawler.CrawlerPage;
import crawler.CrawlerShouXi;
import factory.UrlCrawlControllerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CrawlerControllerStarter {

    private static final Logger logger=LoggerFactory.getLogger(CrawlerControllerStarter.class);

    public static void main(String[] args) throws Exception {
        //String url="http://www.huayicang.com/hxgq/cn/hyc.jsp";
        //UrlCrawlControllerFactory.getCrawlerPageController(url, CrawlerPage.class);
        String url="http://www.shouxi.com/";
        UrlCrawlControllerFactory.getCrawlerPageController(url, CrawlerShouXi.class);
    }
}
